package vip.liux.contracts.security;

import org.springframework.security.core.userdetails.UserDetails;

import java.util.Map;
import java.util.Set;

public interface UserDetailsInfo extends UserDetails {

    String getId();

    String getName();

    String getSurName();

    String getPhoneNumber();

    String getEmail();

    boolean isPhoneNumberConfirmed();

    boolean isEmailConfirmed();

    Set<String> getRoles();

    Map<String, Object> getAttributes();
}